package com.allen.study.application.repository;

import com.allen.study.application.api.request.EmployeeInfoQueryRequest;
import com.allen.study.application.api.response.EmployeeInfoQueryResponse;
import com.allen.study.common.base.Pagination;

import java.util.List;

/**
 * 读模型资源库
 *
 * @author AllenSun
 * @since 2025-02-26 22:43
 */
public interface IEmployeeInfoReadModelRepo {

    /**
     * 查询列表
     *
     * @param pagination   分页
     * @param queryRequest 查询请求对象
     * @return 响应数据传输对象列表
     */
    List<EmployeeInfoQueryResponse> query(Pagination pagination, EmployeeInfoQueryRequest queryRequest);
}